/*Table C4 data*/

use "Analysis Data/table1_3_data.dta", clear

merge 1:1 state_name ac_num using "Analysis Data/table2_data.dta", nogen keep(matched)

keep station_id? prob_treat wgt_treat treat num_resp num_vb_parties turnoutrate_2009 voteshare_vb_2009 electors_2014 num_cand num_party poll_date1 poll_date2 poll_date3 poll_date4 poll_date5 state_election lit_pc rural_pc scst_pc

outsheet using "Table C4\tableC4_data.csv", replace comma nolabel
